﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Shsc.Net.FrameWork.Common.Validator
{
    /// <summary>
    /// Dto Check對應的Action
    /// </summary>
    [AttributeUsage(AttributeTargets.Class, AllowMultiple = true, Inherited = true)]
    public class ActionCheckAttribute : Attribute
    {

        /// <summary>
        /// 目標Action
        /// </summary>
        public string[] DescAction
        {
            get; set;
        }

        /// <summary>
        /// 
        /// </summary>
        /// <param name="descAction"></param>
        public ActionCheckAttribute(string[] descAction)
        {
            DescAction = descAction;
        }
    }
}
